package com.dearbinge.data.pojo.orderTable.dto;

import com.dearbinge.data.pojo.commodity.CommodityMessage;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

@Api("订单")
public class OrderTableDto implements Serializable {
	  /**
     * 店铺ID
     */
    @ApiModelProperty("店铺ID")
    private String shopId;
    /**
     * 店铺名字
     */
    @ApiModelProperty("店铺名字")
    private String shopName;
    /**
     * 店铺图片地址
     */
    @ApiModelProperty("店铺图片地址")
    private String imgUrl;
//    /**
//     * 商品list
//     */
//    @ApiModelProperty("商品list")
//    private List<CommodityMessage> list;
    /**
     * 地址id
     */
    @ApiModelProperty("地址id")
    private String addressId;


    /**
     * id
     */
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 订单编号
     */
    @ApiModelProperty("订单编号")
    private String number;

    /**
     * 交易类型
     */
    @ApiModelProperty("交易类型")
    private String businessType;

    /**
     * 发货时间
     */
    @ApiModelProperty("发货时间")
    private Date sendgoodsTime;

    /**
     * 商品ID
     */
    @ApiModelProperty("商品ID")
    private String commodityId;

    /**
     * 订单价格
     */
    @ApiModelProperty("订单价格")
    private Long price;

    /**
     * 该订单用户ID
     */
    @ApiModelProperty("该订单用户ID")
    private String userId;

    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;

    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date modifyTime;

    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createBy;

    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String modifyBy;

    /**
     * 是否删除（0：不删除  1：删除）
     */
    @ApiModelProperty("是否删除（0：不删除  1：删除）")
    private Boolean isDeleted;

    /**
     * 确定收货时间
     */
    @ApiModelProperty("确定收货时间")
    private Date determineTheTimeOfReceipt;

    /**
     * 订单状态 0 未付款 1 付款 2 等待分成 3 分成完成 4取消
     */
    @ApiModelProperty("订单状态 0 未付款 1 付款 2 等待分成 3 分成完成 4取消")
    private Integer orderStatus;

    /**
     * 是否分销订单 0 否 1 是
     */
    @ApiModelProperty("是否分销订单 0 否 1 是")
    private Integer isDistribution;

    /**
     *是否评价（0：未评价  1：已评价 2：已追评）
     * @return
     */
    @ApiModelProperty("是否评价（0：未评价  1：已评价 2：已追评）")
    private Boolean assessType;

    /**
     * 运费
     * @return
     */
    @ApiModelProperty("运费")
    private Long carriagePrice;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNumber() {
        return number;
    }

    public void setNumber(String number) {
        this.number = number == null ? null : number.trim();
    }

    public String getBusinessType() {
        return businessType;
    }

    public void setBusinessType(String businessType) {
        this.businessType = businessType == null ? null : businessType.trim();
    }

    public Date getSendgoodsTime() {
        return sendgoodsTime;
    }

    public void setSendgoodsTime(Date sendgoodsTime) {
        this.sendgoodsTime = sendgoodsTime;
    }

    public String getCommodityId() {
        return commodityId;
    }

    public void setCommodityId(String commodityId) {
        this.commodityId = commodityId == null ? null : commodityId.trim();
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId == null ? null : userId.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy == null ? null : createBy.trim();
    }

    public String getModifyBy() {
        return modifyBy;
    }

    public void setModifyBy(String modifyBy) {
        this.modifyBy = modifyBy == null ? null : modifyBy.trim();
    }

    public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

    public Date getDetermineTheTimeOfReceipt() {
        return determineTheTimeOfReceipt;
    }

    public void setDetermineTheTimeOfReceipt(Date determineTheTimeOfReceipt) {
        this.determineTheTimeOfReceipt = determineTheTimeOfReceipt;
    }

    public Integer getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(Integer orderStatus) {
        this.orderStatus = orderStatus;
    }

    public Integer getIsDistribution() {
        return isDistribution;
    }

    public void setIsDistribution(Integer isDistribution) {
        this.isDistribution = isDistribution;
    }

    public Boolean getAssessType() {
        return assessType;
    }

    public void setAssessType(Boolean assessType) {
        this.assessType = assessType;
    }

    public Long getCarriagePrice() {
        return carriagePrice;
    }

    public void setCarriagePrice(Long carriagePrice) {
        this.carriagePrice = carriagePrice;
    }

	public String getShopId() {
		return shopId;
	}

	public void setShopId(String shopId) {
		this.shopId = shopId;
	}

	public String getShopName() {
		return shopName;
	}

	public void setShopName(String shopName) {
		this.shopName = shopName;
	}

	public String getImgUrl() {
		return imgUrl;
	}

	public void setImgUrl(String imgUrl) {
		this.imgUrl = imgUrl;
	}

//	public List<CommodityMessage> getList() {
//		return list;
//	}
//
//	public void setList(List<CommodityMessage> list) {
//		this.list = list;
//	}

	public String getAddressId() {
		return addressId;
	}

	public void setAddressId(String addressId) {
		this.addressId = addressId;
	}



}